package net.maku.project.service;

import net.maku.framework.common.utils.PageResult;
import net.maku.framework.mybatis.service.BaseService;
import net.maku.project.vo.ProcessStepsVO;
import net.maku.project.query.ProcessStepsQuery;
import net.maku.project.entity.ProcessStepsEntity;

import java.util.List;

/**
 * 流程环节表
 *
 * @author aili 1106997025@qq.com
 * @since 1.0.0 2024-07-09
 */
public interface ProcessStepsService extends BaseService<ProcessStepsEntity> {

    PageResult<ProcessStepsVO> page(ProcessStepsQuery query);

    void save(ProcessStepsVO vo);

    void update(ProcessStepsVO vo);

    void delete(List<Long> idList);

    List<Long> getBranchPoints(Long stageId);

    String getDeadLine(Long stepId);

    List<Object[]> getAllStepDeadLine();

    String getNameById(Long stepId);
}